

using Google.Protobuf;

public partial class MessagePacket : ISerialize
{
   
    /*public void Read(byte[] bytes, int index, int count)
    {
        if (bytes == null) return;
        MessagePacket_Data packetData = CommonFunctions.Deserialize<MessagePacket_Data>(bytes, index, count);
        if (null == packetData || 0 == packetData.Time)
        {
            GameDebug.LogError("NetMessage_Data deserialize failed");
        }
        this.seq = packetData.Seq;
        this.type = packetData.Type;
        this.time = packetData.Time;
        this.key = packetData.Key;

        if (packetData.Data != null)
            this.data = packetData.Data.ToByteArray();
    }*/
    
}
